#ifndef WIDGETEDITOR_H
#define WIDGETEDITOR_H

#include <QWidget>
#include <Shinygami/container.hpp>

namespace Ui {
class WidgetEditor;
}

class InterfaceEditor;
class WidgetEditor : public QWidget
{
    friend class InterfaceEditor;
    Q_OBJECT
    
public:
    explicit WidgetEditor(QWidget *parent = 0);
    ~WidgetEditor();

    void SetWidget(Data, Shiny::Widgets::Container*);

public slots:
    void TextureAdded(QString);

private:
    Ui::WidgetEditor *ui;
    Data             _currentWidgetData;
};

#endif // WIDGETEDITOR_H
